package sys.tests.logic;

import sys.*;
import sys.database.*;

public class RunTests
{
    public static void run()
    {
        String  DBHost =  "localhost.localdomain",
                DBName = "systemb",
                user = "systemb",
                pass = "systemb";
        RequestManager rm = null;
        DBWrapper dbw = null;

/*        dbw = new DBWrapper(DBHost, DBName, user, pass);*/
        //dbw.connect();
        //dbw.delete("Request", "ID = 0");
        //dbw.disconnect();
        //rm = new RequestManager("//home//chigorin//botva//term10//my//ds//cw//distsyst//sysb//src//sys//config");
        //rm.start();
        //Test1.startTest("localhost.localdomain", "systema@localhost.localdomain", "localhost.localdomain", "systemb", "systemb", "systemb");
        /*rm.stop();*/

/*        dbw = new DBWrapper(DBHost, DBName, user, pass);*/
        //dbw.connect();
        //dbw.delete("Request", "ID = 0");
        /*dbw.disconnect();*/
        rm = new RequestManager("//home//chigorin//botva//term10//my//ds//cw//distsyst//sysb//src//sys//config");
        rm.start();
        Test2.startTest("localhost.localdomain", "systema@localhost.localdomain", "localhost.localdomain", "systemb", "systemb", "systemb");
        rm.stop();

        /*dbw = new DBWrapper(DBHost, DBName, user, pass);*/
        //dbw.connect();
        //dbw.delete("Request", "ID = 0");
        /*dbw.disconnect();*/
        //rm = new RequestManager("//home//chigorin//botva//term10//my//ds//cw//distsyst//sysb//src//sys//config");
        //rm.start();
        //Test3.startTest("localhost.localdomain", "systema@localhost.localdomain", "localhost.localdomain", "systemb", "systemb", "systemb");
        /*rm.stop();*/
    }
}
